home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 2000 July: Mac OS SDK / Dev.CD Jul 00 SDK2.toast / Development Kits / Cross Platform / QuickTime 4.1.2 Windows SDK / CIncludes / OSAComp.h < prev    next >
Encoding:
C/C++ Source or Header  |  2000-04-12  |  1.7 KB  |  89 lines  |  [TEXT/R*ch]

  1. /*
  2.      File:        OSAComp.h
  3.  
  4.      Contains:    AppleScript Component Implementor's Interfaces.
  5.  
  6.      Version:    Technology:    AppleScript 1.1
  7.                  Release:    QuickTime 4.1
  8.  
  9.      Copyright:    (c) 1992-1995, 1997-1999 by Apple Computer, Inc., all rights reserved
  10.  
  11.      Bugs?:        For bug reports, consult the following page on
  12.                  the World Wide Web:
  13.  
  14.                      http://developer.apple.com/bugreporter/
  15.  
  16. */
  17. #ifndef __OSACOMP__
  18. #define __OSACOMP__
  19.  
  20. #ifndef __MACTYPES__
  21.     #include <MacTypes.h>
  22. #endif
  23.  
  24. #ifndef __AEDATAMODEL__
  25.     #include <AEDataModel.h>
  26. #endif
  27.  
  28.  
  29.  
  30.  
  31. #if PRAGMA_ONCE
  32. #pragma once
  33. #endif
  34.  
  35. #ifdef __cplusplus
  36. extern "C" {
  37. #endif
  38.  
  39. #if PRAGMA_IMPORT
  40. #pragma import on
  41. #endif
  42.  
  43. #if PRAGMA_STRUCT_ALIGN
  44.     #pragma options align=mac68k
  45. #elif PRAGMA_STRUCT_PACKPUSH
  46.     #pragma pack(push, 2)
  47. #elif PRAGMA_STRUCT_PACK
  48.     #pragma pack(2)
  49. #endif
  50.  
  51. /**************************************************************************
  52.     Types and Constants
  53. **************************************************************************/
  54. /**************************************************************************
  55.     Routines for Associating a Storage Type with a Script Data Handle 
  56. **************************************************************************/
  57. EXTERN_API( OSErr )
  58. OSAGetStorageType                (AEDataStorage             scriptData,
  59.                                  DescType *                dscType);
  60.  
  61. EXTERN_API( OSErr )
  62. OSAAddStorageType                (AEDataStorage             scriptData,
  63.                                  DescType                 dscType);
  64.  
  65. EXTERN_API( OSErr )
  66. OSARemoveStorageType            (AEDataStorage             scriptData);
  67.  
  68.  
  69. #if PRAGMA_STRUCT_ALIGN
  70.     #pragma options align=reset
  71. #elif PRAGMA_STRUCT_PACKPUSH
  72.     #pragma pack(pop)
  73. #elif PRAGMA_STRUCT_PACK
  74.     #pragma pack()
  75. #endif
  76.  
  77. #ifdef PRAGMA_IMPORT_OFF
  78. #pragma import off
  79. #elif PRAGMA_IMPORT
  80. #pragma import reset
  81. #endif
  82.  
  83. #ifdef __cplusplus
  84. }
  85. #endif
  86.  
  87. #endif /* __OSACOMP__ */
  88.  
  89.